
public class ArrayTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] vector = new int[100];
		
		vector = fill(vector);
		out(vector);
		
	}
	public static int[] fill(int[] x) {
		for (int i=0; i < x.length; i++){
			x[i]=(i+1)*(i+1);
		}
		return x;
	}
	
	public static void out(int[] x) {
		for (int i=1; i < x.length; i+=2){
			System.out.print((i+1)+" * "+(i+1)+" = ");
			System.out.println(x[i]);
		}
	}

}
